package cn.txy.article.service;

import cn.txy.article.domain.ArticleType;
import cn.txy.article.mongo.Comment;
import cn.txy.article.query.CommentQuery;

import java.util.List;

public interface  CommentService {
    void save(Comment comment);
    void update(Comment comment);
    void del(String id);

    List<Comment> findByArticleId(Long id);
    List<Comment> findAll();
}
